<?php
/* @var $this ReservationController */
/* @var $data Reservation */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('customer_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->fname), array('customer/view', 'id'=>$data->id)); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('customer_id1')); ?>:</b>
	<?php echo CHtml::encode(CHtml::encode($data->add)); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('customer_id2')); ?>:</b>
	<?php echo CHtml::encode(CHtml::encode($data->no)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('service_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->service->type), array('service/view', 'id'=>$data->id)); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('service_id')); ?>:</b>
	<?php echo CHtml::encode($data->service->price); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('reservation_date')); ?>:</b>
	<?php echo CHtml::encode($data->reservation_date); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('reservation_time')); ?>:</b>
	<?php echo CHtml::encode($data->reservation_time); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('reservation_type')); ?>:</b>
	<?php echo CHtml::encode($data->reservation_type); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('start_time')); ?>:</b>
	<?php echo CHtml::encode($data->start_time); ?>
	<br />
 
	<b><?php echo CHtml::encode($data->getAttributeLabel('end_time')); ?>:</b>
	<?php echo CHtml::encode($data->end_time); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('attendant_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->attendant->fname), array('attendant/view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('bed_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->bed->bed_name), array('bed/view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('reservation_status')); ?>:</b>
	<?php echo CHtml::encode($data->reservation_status); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('create_at')); ?>:</b>
	<?php echo CHtml::encode($data->create_at); ?>
	<br />


</div>